AR = ar
ARFLAGS = -rcs
CPPFLAGS = -O3 -Wall $(shell xml2-config --cflags)
CXX = g++
LDFLAGS = -lcurl $(shell xml2-config --libs)
OBJECTS = $(patsubst %.cpp,%.o,$(wildcard *.cpp))

default : lib

lib : $(OBJECTS)
	$(AR) $(ARFLAGS) provisioning.a $(OBJECTS)

clean :
	rm -f *.o $(EXECUTABLE)
